package com.service;

import com.pojo.dto.Message;
import com.pojo.entity.CFriends;
import com.pojo.vo.CFriendVo;
import org.springframework.stereotype.Service;

import java.util.List;


public interface CFriendService {
    //发送好友申请
    Message<String> applyFriend(CFriendVo cFriend);
    //申请通过后添加好友的信息
    Message<String> addFriend(CFriends cFriends);
    //修改好友的备注信息
    Message<String> updateFriend(CFriends cFriends);
    //删除好友
    Message<String> deleteFriend(CFriends cFriends);
    //查询某个好友
    Message<CFriendVo>selectFriend(CFriendVo cFriend);
    //查询某个用户的所有好友
    Message<List<CFriendVo>>selectFriends(CFriends cFriends);
}
